package cn.xutongxue.book_sales.base;


public enum Errors {

    UNKNOWN_ERROR(1,  "未知错误");

    private final int code;
    private final String message;

    Errors(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }

}
